﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml;
using System.IO;
using System.Text;
using System.Windows.Markup;
using System.Collections.Generic;
using Microsoft.Popfly.GameCreator.Collections;


namespace Microsoft.Popfly.GameCreator.Data
{
    public class GameInfo
    {


        [GameXamlProperty(objectType = typeof(SceneInfo), nodeName = "Game.Scenes", dictionaryEntryNodeName = "Scene")]
        public OrderedDictionary<String, SceneInfo> Scenes;
        [GameXamlProperty(objectType = typeof(ActorInfo), nodeName = "Game.Actors", dictionaryEntryNodeName = "Actor")]
        public Dictionary<String, ActorInfo> Actors;



        // TODO: Why are we wrapping Properties up in their own object? 
        [GameXamlProperty(objectType = typeof(PropertyInfo), nodeName = "Game.Properties", dictionaryEntryNodeName = "Property")]
        public Dictionary<String, PropertyInfo> properties;

        public SceneInfo CurrentScene { get; private set; }

        public ResourceDictionary GameResourceDictionary { get; private set; }
    }
}
